﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo1
{
    class Class2
    {
        private int id;
        private string name;
        private char sex;
        private long cardid;
        private string tel;

        public int Id { get => id; set => id = value; }
        public string Name { get => name; set => name = value; }
        public char Sex { get => sex; set => sex = value; }
        public long Cardid { get => cardid; set => cardid = value; }
        public string Tel { get => tel; set => tel = value; }
        public Class2(int id, string name, char sex, long cardid, string tel)
        {
            Id = id;
            Name = name;
            Sex = sex;
            Cardid = cardid;
            Tel = tel;
        }
    }
}
